<template>
  <div class="goods">
    <goods-list-item v-for="(item,index) in subcategory_type" :goodsItem="item" :key="index"></goods-list-item>
  </div>
</template>

<script>
  import GoodsListItem from "components/content/goods/GoodsListItem";
  export default {
    name: "CategoryGoodList",
    components: {GoodsListItem},
    props:{
      subcategory_type:{
        type:Array,
        default(){
          return []
        }
      }
    }
  }
</script>

<style scoped>
  .goods{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 6px;
  }
</style>
